package com.happy.service;

import com.happy.annotation.AutoFill;
import com.happy.enumeration.OperationType;
import com.happy.model.dto.CardAddDTO;
import com.happy.model.dto.CardPageQuery;
import com.happy.model.dto.CardUpdateDTO;
import com.happy.model.result.PageResult;
import com.happy.model.vo.CardListByIdVO;
import com.happy.model.vo.CardListVO;

public interface CardService {
    PageResult<CardListVO> getPage(CardPageQuery query);

    void addCard(CardAddDTO cardAddDTO);

    void deleteCard(Integer id);

    CardListByIdVO getCardListById(Integer id);

    void updateCard(CardUpdateDTO cardUpdateDTO);
}
